package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesGoodsAttribute;
import com.sl.mes.db.vo.MesGoodsAttributeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesGoodsAttributeMapper {
    long countByExample(MesGoodsAttributeExample example);

    int deleteByExample(MesGoodsAttributeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesGoodsAttribute record);

    int insertSelective(MesGoodsAttribute record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsAttribute selectOneByExample(MesGoodsAttributeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsAttribute selectOneByExampleSelective(@Param("example") MesGoodsAttributeExample example, @Param("selective") MesGoodsAttribute.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesGoodsAttribute> selectByExampleSelective(@Param("example") MesGoodsAttributeExample example, @Param("selective") MesGoodsAttribute.Column ... selective);

    List<MesGoodsAttribute> selectByExample(MesGoodsAttributeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsAttribute selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesGoodsAttribute.Column ... selective);

    MesGoodsAttribute selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesGoodsAttribute selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") MesGoodsAttribute record, @Param("example") MesGoodsAttributeExample example);

    int updateByExample(@Param("record") MesGoodsAttribute record, @Param("example") MesGoodsAttributeExample example);

    int updateByPrimaryKeySelective(MesGoodsAttribute record);

    int updateByPrimaryKey(MesGoodsAttribute record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") MesGoodsAttributeExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_goods_attribute
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}